package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyDingdingMonthAttend;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyDingdingMonthAttendParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyDingdingMonthAttendResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 半天妖-钉钉-月度-考勤查询 服务类
 * </p>
 *
 * @author wjk
 * @since 2022-05-30
 */
public interface BtyDingdingMonthAttendService extends IService<BtyDingdingMonthAttend> {

    /**
     * 新增
     *
     * @author wjk
     * @Date 2022-05-30
     */
    void add(BtyDingdingMonthAttendParam param);

    /**
     * 删除
     *
     * @author wjk
     * @Date 2022-05-30
     */
    void delete(BtyDingdingMonthAttendParam param);

    /**
     * 更新
     *
     * @author wjk
     * @Date 2022-05-30
     */
    void update(BtyDingdingMonthAttendParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wjk
     * @Date 2022-05-30
     */
    BtyDingdingMonthAttendResult findBySpec(BtyDingdingMonthAttendParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wjk
     * @Date 2022-05-30
     */
    List<BtyDingdingMonthAttendResult> findListBySpec(BtyDingdingMonthAttendParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wjk
     * @Date 2022-05-30
     */
     LayuiPageInfo findPageBySpec(BtyDingdingMonthAttendParam param);

    /**
     * 开始同步东更道部门的员工的每天数据到月度数据
     * 月度数据
     * @author
     * @Date 2022-06-02
     */
    Map<String, String> addBtyDingdingMonthAttend(BtyDingdingMonthAttendParam param);


    /**
     * 导出excel
     * @param param
     * @return
     */
    List<BtyDingdingMonthAttendResult> export(BtyDingdingMonthAttendParam param);

    /**
     * 漏打卡详情
     * @param param
     * @return
     */
    ResponseData detailList(BtyDingdingMonthAttendParam param);

    /**
     * 同步月度数据到liu1_qin
     * @return
     */
    Map<String, String> synchronousliuQin();
}
